atom_feed do |feed|
    feed.title("Lista zleceń")
    feed.updated(@waiting_prints.first ? @waiting_prints.first.created_at : Time.now.utc)

    for print in @waiting_prints
      feed.entry(print) do |entry|
        entry.title(print.attachment_file_name)
        entry.content('Użytkownik '+ print.user.name + '(' + print.user.email +
            ') zlecił wykonanie druku pliku ' + print.attachment_file_name + "\n" +
            "Komentarz:\n" + print.comment, :type => 'html')

        entry.author do |author|
          author.name(print.user.name)
          author.email(print.user.email)
        end
      end
    end
  end